#ifndef __PVMSOURCEFACTORY_H__
#define __PVMSOURCEFACTORY_H__

#include "pvm/pvmtypes.h"

class IPvmInStream;
class IPVMVoiceSource;

class IPVMSourceFatcory
{
protected:
	IPVMSourceFatcory() {};
public:
	virtual ~IPVMSourceFatcory() {};

	virtual pvm_bool CanLoad(IPvmInStream* inStream, pvm_int8** startData, pvm_int* startDataSize) = 0;
	virtual IPVMVoiceSource* CreateVoiceSource(IPvmInStream* inStream, pvm_int8* startData, pvm_int startDataSize) = 0;
};

#endif
